# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=mauiman
pkgver=1.0.2
pkgrel=1
pkgdesc='Maui Manager Library. Server and public library API.'
url='https://mauikit.org/'
arch=(loong64 x86_64)
license=(LGPL)
depends=(qt5-systems)
makedepends=(extra-cmake-modules)
source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('c49ea08d4b51efb4c6ab95699e837cd5482edbfbd5e45b462a5811208787726c')

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
